package model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Ville_TRAIN")
public class VilleTrain {
	private String nom;
	private String codeR;
	private String codeG;

	public VilleTrain() {
	}
	
	
	public VilleTrain(String nom) {
		this.nom = nom;
	}

	@Id
	@Column(name = "NOM_GARE")
	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	@Column(name = "CODER")
	public String getCodeR() {
		return codeR;
	}

	public void setCodeR(String codeR) {
		this.codeR = codeR;
	}

	@Column(name = "CODEG")
	public String getCodeG() {
		return codeG;
	}

	public void setCodeG(String codeG) {
		this.codeG = codeG;
	}
}
